<template>
  <div class="loading">
    <div class="container">
      <div class="walk">
        <div class="west"></div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  }
};
</script>

<style lang="less" scoped>
.loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background-color: #fff;
}
.container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 3.2s ease;
}

.west {
  width: 109px;
  height: 100px;
  background: url('~@/assets/images/yys1.png') no-repeat;
  animation: play 0.5s steps(2) infinite;
}

@keyframes play {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -218px 0;
  }
}
</style>
